﻿using System;
using System.Collections.Generic;

namespace Microsoft.Popfly.GameCreator.Data
{
    public class KeyEventInfo : EventInfo
    {
        public class KeyInfo
        {
            [GameXamlProperty(nodeName = "Code")]
            public int keyCode;
        }
        [GameXamlProperty(nodeName = "Keys", dictionaryHashAttributeName = "Code", objectType = typeof(KeyEventInfo.KeyInfo), dictionaryEntryNodeName = "Key")]
        public Dictionary<String, KeyEventInfo.KeyInfo> Keys;

        [GameXamlProperty]
        public String KeyType;
    }
}